package com.example.zk2_lx.friend;

import androidx.lifecycle.MutableLiveData;

import com.example.zk2_lx.mvvm_base.BaseViewModel;

import java.util.List;

public class FriendViewModel extends BaseViewModel<FriendRepo> {
    @Override
    protected FriendRepo createRepo() {
        return new FriendRepo();
    }
    public MutableLiveData<List<String>> success = new MutableLiveData<>();
    public MutableLiveData<String> fail = new MutableLiveData<>();
    public void friend(){
        repo.friend(success,fail);
    }
}
